/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.cmu.cs.webapp.ioms.models;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Line Item</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getItem_id <em>Item id</em>}</li>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getQuantity <em>Quantity</em>}</li>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getProduct <em>Product</em>}</li>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getUnit <em>Unit</em>}</li>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getRemark <em>Remark</em>}</li>
 *   <li>{@link edu.cmu.cs.webapp.ioms.models.LineItem#getOrder <em>Order</em>}</li>
 * </ul>
 * </p>
 *
 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem()
 * @model
 * @generated
 */
public interface LineItem extends EObject {
	/**
	 * Returns the value of the '<em><b>Item id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Item id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Item id</em>' attribute.
	 * @see #setItem_id(int)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Item_id()
	 * @model
	 * @generated
	 */
	int getItem_id();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getItem_id <em>Item id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Item id</em>' attribute.
	 * @see #getItem_id()
	 * @generated
	 */
	void setItem_id(int value);

	/**
	 * Returns the value of the '<em><b>Quantity</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Quantity</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Quantity</em>' attribute.
	 * @see #setQuantity(double)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Quantity()
	 * @model
	 * @generated
	 */
	double getQuantity();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getQuantity <em>Quantity</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Quantity</em>' attribute.
	 * @see #getQuantity()
	 * @generated
	 */
	void setQuantity(double value);

	/**
	 * Returns the value of the '<em><b>Product</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Product</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Product</em>' reference.
	 * @see #setProduct(Product)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Product()
	 * @model
	 * @generated
	 */
	Product getProduct();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getProduct <em>Product</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Product</em>' reference.
	 * @see #getProduct()
	 * @generated
	 */
	void setProduct(Product value);

	/**
	 * Returns the value of the '<em><b>Unit</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Unit</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unit</em>' attribute.
	 * @see #setUnit(String)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Unit()
	 * @model
	 * @generated
	 */
	String getUnit();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getUnit <em>Unit</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Unit</em>' attribute.
	 * @see #getUnit()
	 * @generated
	 */
	void setUnit(String value);

	/**
	 * Returns the value of the '<em><b>Remark</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Remark</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Remark</em>' attribute.
	 * @see #setRemark(String)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Remark()
	 * @model
	 * @generated
	 */
	String getRemark();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getRemark <em>Remark</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Remark</em>' attribute.
	 * @see #getRemark()
	 * @generated
	 */
	void setRemark(String value);

	/**
	 * Returns the value of the '<em><b>Order</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Order</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Order</em>' reference.
	 * @see #setOrder(PurchaseOrder)
	 * @see edu.cmu.cs.webapp.ioms.models.IOMSPackage#getLineItem_Order()
	 * @model
	 * @generated
	 */
	PurchaseOrder getOrder();

	/**
	 * Sets the value of the '{@link edu.cmu.cs.webapp.ioms.models.LineItem#getOrder <em>Order</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Order</em>' reference.
	 * @see #getOrder()
	 * @generated
	 */
	void setOrder(PurchaseOrder value);

} // LineItem
